# coding=utf-8


class Pair(object):

    def __init__(self, x, y):
        self.x = x
        self.y = y

    def __str__(self):
        return '({0.x!s}, {0.x!s})'.format(self)

    def __repr__(self):
        return 'Pair({0.x!s}, {0.x!s})'.format(self)


if __name__ == '__main__':
    p = Pair(1, 2)
    print p
    p


